﻿using PublicClass;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace S.Organization.Domian.Model
{


    /// <summary>
    /// 转种信息类
    /// </summary>
    [Table("Subcultivation")]
    public class Subcultivation: AuditFields
    {
        /// <summary>
        /// 转种编号
        /// </summary>
        [Key]
        public int SubcultivationId { get; set; }

        /// <summary>
        /// 育成羊耳号
        /// </summary>
        [StringLength(30)]
        public string? RaisedSheep { get; set; }

        /// <summary>
        /// 转入栋舍
        /// </summary>
        [StringLength(30)]
        public string? ShiftCottage { get; set; }

        /// <summary>
        /// 转入栏位
        /// </summary>
        [StringLength(30)]
        public string? ShiftField { get; set; }

        /// <summary>
        /// 当前栋舍
        /// </summary>
        [StringLength(30)]
        public string? AtPresentCottage { get; set; }

        /// <summary>
        /// 当前栏位
        /// </summary>
        [StringLength(30)]
        public string?   AtPresentField { get; set; }

        /// <summary>
        /// 性别
        /// </summary>
        public bool Sex { get; set; }

        /// <summary>
        /// 转种日龄
        /// </summary>
        public int TransplantingAge { get; set; }

        /// <summary>
        /// 转钟日期
        /// </summary>
        public DateTime ConversionDate { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        [StringLength(300)]
        public string? Desc { get; set; }
    }
}
